// ==========================================================================
// Dropdown
// ==========================================================================

// This is the function that will start your app running.  The default
// implementation will load any fixtures you have created then instantiate
// your controllers and awake the elements on your page.
//
// As you develop your application you will probably want to override this.
// See comments for some pointers on what to do next.
//
function main() {


var json = { "entries": 
     [ { "guid": "JSON1", "brand": "Mercl"},
       { "guid": "JSON2", "brand": "Jeep"}
     ] 
};

  
 // Dropdown.Entry.newRecord({guid: obj.data.entries[0].guid, brand: obj.data.entries[0].brand});
  
//  Dropdown.entriesController.set('content', Dropdown.Entry.findAll()) ;



  Dropdown.server.preload(Dropdown.FIXTURES) ;
  Dropdown.entriesController.set('content',Dropdown.Entry.findAll());
  SC.page.awake() ;
} ;
